package com.meihua.baoleyi.bean;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * Created by liming on 2017/10/17
 * desc:
 */

public class OrderBean extends BaseBean implements Serializable {

    private List<DataBean> data;

    /**
     * code : 1
     * data : [{"order_num":"201707241741196223","evaluation_state":"1","order_state":"1","order_price":"288","stores_id":"19","st_name":"附近酒店","stores_name":"七天连锁酒店(亚运村店)","goods_id":"65","stores_img":"http://10.0.2.188/liangliang/phpx/liangliang/upload/nx/nx_1499157323664.jpg","goods_sum":1,"goods":[{"goods_name":"大床房","goods_num":"1"}]},{"order_num":"201707241741196223","evaluation_state":"1","order_state":"1","order_price":"288","stores_id":"19","st_name":"附近酒店","stores_name":"七天连锁酒店(亚运村店)","goods_id":"65","stores_img":"http://10.0.2.188/liangliang/phpx/liangliang/upload/nx/nx_1499157323664.jpg","goods_sum":2,"goods":[{"goods_name":"大床房","goods_num":"1"}]}]
     * msg : 成功
     * public_key : o5xzpmi1d612o7fd
     */
    public List<DataBean> getData() {
        return data == null ? new ArrayList<DataBean>() : data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }


    public static class DataBean implements Serializable {
        /**
         * order_num : 201707241741196223
         * evaluation_state : 1
         * order_state : 1
         * order_price : 288
         * stores_id : 19
         * st_name : 附近酒店
         * stores_name : 七天连锁酒店(亚运村店)
         * goods_id : 65
         * stores_img : http://10.0.2.188/liangliang/phpx/liangliang/upload/nx/nx_1499157323664.jpg
         * goods_sum : 1
         * goods : [{"goods_name":"大床房","goods_num":"1"}]
         */

        public String order_num;
        public String evaluation_state;
        public int order_state;
        public String order_price;
        public String stores_id;
        public String st_name;
        public String stores_name;
        public String goods_id;
        public String stores_img;
        public int goods_sum;
        public String order_type;
        public List<GoodsBean> goods;


        public static class GoodsBean implements Serializable {
            /**
             * goods_name : 大床房
             * goods_num : 1
             */

            public String goods_name;
            public String goods_num;


        }
    }
}
